shell-command-mode: New major mode for async-shell-command
authorDmitry Gutov <dmitry@gutov.dev>
Sat, 1 Jun 2024 15:03:42 +0000 (18:03 +0300)
committerDmitry Gutov <dmitry@gutov.dev>
Sat, 1 Jun 2024 15:03:42 +0000 (18:03 +0300)
commita154f0aa73bceeaaeefcd243e7db9d09e3f450d7
tree4708f1f9e80eaff35cddb7bdc09d18948d014166
parentd91ad9be5a72974784e0552069020c3ae0bc830e
shell-command-mode: New major mode for async-shell-command

* etc/NEWS: Mention the additions.

* lisp/shell.el (shell-command-mode): New major mode (bug#71049).

* lisp/simple.el (async-shell-command-mode):
New variable, with default value pointing to that mode.
(shell-command): Refer to it here.
(async-shell-command): Update docstring.

* lisp/net/tramp.el (tramp-handle-shell-command):
Use the new variable when available.
etc/NEWS
lisp/net/tramp.el
lisp/shell.el
lisp/simple.el